<template>
    <div>
        <VEditModelForm ref="formModel" :fields="fields" :value="value" />
    </div>
</template>

<script>
export default {
    data() {
        return {
            fields: [],
            value: {},
        };
    },
    methods: {
        show(data) {
            this.fields = data;
            this.$refs.formModel.show();
        },
    },
};
</script>

<style></style>
